//=====================================================================  	
//
//  File:		Program.cs
//
//  Summary:	Entry point for the console application.
//
//  Date:		06/09/2005
//
//---------------------------------------------------------------------
//  This file is part of the Microsoft SQL Server Code Samples.
//  Copyright (C) Microsoft Corporation.  All rights reserved.
//
//	This source code is intended only as a supplement to Microsoft
//	Development Tools and/or on-line documentation.  See these other
//	materials for detailed information regarding Microsoft code samples.
//
//	THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF 
//  ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 
//  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//	PARTICULAR PURPOSE.
//=====================================================================  	

#region Using directives

using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SqlServer.Dts.Runtime;

#endregion

namespace Microsoft.Samples.SqlServer.SSIS
{
    class Program
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals")]
        static void Main(string[] args)
        {
            string sortColumn = string.Empty;

            if (args.Length > 0)
            {
                sortColumn = args[0];
            }

            OleDBToFlatFile sample = new OleDBToFlatFile(sortColumn);

            Console.WriteLine("Press Enter to exit.");
            Console.ReadLine();
        }
    }
}
